package com.demo.Application;

import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import com.demo.Application.module.user.UserInfo;

public class UserController {
	
	@RequestMapping("/user")
    public String userInfo(Model model) {
		
  	  UserInfo user = new UserInfo();
  	  user.setUsername("邓梦丽");
  	  user.setSex("女");
  	  user.setAge("18");
  	  
  	  model.addAttribute("user",user);  
  	  return "user/user";
  }
	
}